package com.badu.app.service;

import java.util.List;

import com.badu.app.domain.AppUser;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 移动端的用户表 服务类
 * </p>
 *
 * @author astupidcoder123
 * @since 2021-01-14
 */
public interface IAppUserService extends IService<AppUser> {

	AppUser getAppUserByOpenId(String openId);
	
	int updateAppUser(AppUser appUser);
	
    int deleteAppUser(AppUser appUser);
    
    int addAppUser(AppUser appUser);
    
    /**
     * app用户设置自己的邀请码
     * @param openId
     * @param resisterCode
     * @return
     */
    int appUserSttingRegisterCode(String openId,String resisterCode);
}
